# coding=utf-8
# Date: 16/4/5
# Time: 下午6:30
# Email:fanjunwei003@163.com
import sys
import os

__author__ = '范俊伟'
ip = raw_input("IP:")
port = raw_input("port:")
url = "http://%s:%s/ttjd_phonegap_www/platforms/android/assets/www/index.html" % (ip, port)
config_file_name = "ttjd_start_path.tmp"
with open(config_file_name,'w') as f:
  f.write(url)
os.system("adb push %s /sdcard/" % config_file_name)
os.remove(config_file_name)
